# $Id: PKGBUILD 63585 2012-02-05 11:58:09Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Denis Kvist <denvist@ya.ru>

pkgname=gimp-plugin-wavelet-decompose
pkgver=0.1.2
pkgrel=2
pkgdesc="Wavelet decompose plugin for Gimp"
arch=('i686' 'x86_64')
url="http://registry.gimp.org/node/11742"
license=('GPL')
depends=('gimp')
source=(http://registry.gimp.org/files/wavelet-decompose-$pkgver.tar.gz \
	po_install.diff)
md5sums=('e0cb8670a1c5506d08f57f2300caac24'
         '4de9e41a535f200c2502f0dd8458c43e')

build() {
  cd "$srcdir/wavelet-decompose-$pkgver"
  patch -Np1 < ../po_install.diff
  make
  install -Dvm755 src/wavelet-decompose \
	"$pkgdir"/usr/lib/gimp/2.0/plug-ins/wavelet-decompose
  cd po
  make LOCALEDIR="$pkgdir"/usr/share/locale install
}
